package com.mt.roll.wms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mt.roll.core.params.IdParam;
import com.mt.roll.core.vo.R;
import com.mt.roll.wms.params.EquipmentBomParam;
import com.mt.roll.wms.params.EquipmentBomQueryParam;
import com.mt.roll.wms.vo.EquipmentBomVo;

public interface EquipmentBomService {
    R<IPage<EquipmentBomVo>> findAllByEQNameOrEQCode(EquipmentBomQueryParam name);


    R<Boolean> create(EquipmentBomParam equipmentBom);
    R<Boolean> update(EquipmentBomParam equipmentBom);
    R<Boolean> delete(IdParam idParam);

    R<EquipmentBomVo> findById(IdParam idParam);
}
